compute shear velocity (m/s)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=float), | intent(in) | :: | dp |
water depth (m) |
||
real(kind=float), | intent(in) | :: | s |
channel slope (m/m) |
shear velocity (m/s)
FUNCTION ShearVelocity & ! (dp, s) & ! RESULT (sv) IMPLICIT NONE REAL (KIND = float), INTENT(IN) :: dp !!water depth (m) REAL (KIND = float), INTENT(IN) :: s !!channel slope (m/m) !local declarations: REAL (KIND = float) :: sv !!shear velocity (m/s) !------------end of declaration------------------------------------------------ sv = (gravityAccel * dp * s)**0.5 END FUNCTION ShearVelocity